import { post } from 'axios'

export const uploadFiles = (formData) => {
  return new Promise((resolve, reject) => {
    post('http://127.0.0.1:8088/uploadFile', formData).then(res => {
      resolve(res)
    }).catch(err => {
      resolve('')
    })
  })
}
